package com.hualan.service;

import com.hualan.mapper.MyzixunMapper;
import com.hualan.pojo.Zixunyuyue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyzixunServiceImpl implements MyzixunService{
    @Autowired
    private MyzixunMapper myzixunMapper;
    public List<Zixunyuyue> listAll(Integer uid) {
        return myzixunMapper.listAll(uid);
    }

    public List<Zixunyuyue> listAllwei(Integer uid) {
        return myzixunMapper.listAllwei(uid);
    }
}
